.chatRecords{
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  .chatRecords-header {
    width: 100%;
    height: 0.5rem;
    
    background-color: #fff;
    box-shadow: 0 1px 4px -4px #000;
    z-index: 1001;
    h2 {
      font-size: 0.2rem;
      text-align: center;
      line-height: 0.5rem;
    }
  
    span.iconfont {
        position: absolute;
        font-size: 0.2rem;
        top: 0.15rem;
        left: 0.2rem;
        cursor: pointer;
    }
  }
 
  .chat-content {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    
    ul {
      flex: 1;
      display: flex;
      flex-direction: column;
      overflow: auto;
    
      li {
        width: 100%;
        margin: 0.16rem 0 0.12rem 0;
        position: relative;
        
        .chat-time{
          position: absolute;
          top: -0.14rem;
          left: 1.4rem;
          font-size: 0.1rem;
          margin: .03rem 0;
        }
        .user-content {
          width: 2.5rem;
          margin-top: .1rem;
          display: flex;
          .userP{
            background-color: blueviolet;
            display: block;
            min-height: 0.5rem;
            flex: 1;
            padding: 0.1rem;
            border-radius:  0.15rem 0rem 0.15rem 0.15rem;
            color: white;
            font-size: 0.12rem;
            line-height: 0.16rem;
          } 
          .useImg {
            margin: 0 0.1rem;
            border-radius: 100%;
            width: 0.4rem;
            height: 0.4rem;
          }
        }
        .serve-content{
          width: 2rem;
          // min-height: 0.6rem;
          display: flex;
         
          .serveImg {
            margin: 0 0.1rem;
            border-radius: 100%;
            width: 0.4rem;
            height: 0.4rem;
          }
  
          .serveP {
            background-color: darkgray;
            display: block;
            // min-height: 0.5rem;
            flex: 1;
            padding: 0.1rem;
            border-radius:  0 0.15rem 0.15rem 0.15rem;
            color: white;
            font-size: 0.12rem;
            line-height: 0.16rem;
          } 
        }
      }
    }
    
  }
  .input-area{
    width: 100%;
    height: 0.5rem;
    background-color: #fff;
    border-top: 1px solid #cccccc;
    bottom: 0rem;
    height: 0.6rem;
    z-index: 1000;  
    .input-options {
      height: 0.6rem;
      display: flex;
      align-items: center;
      .iconfont {
        font-size: 0.24rem;
        padding: 0.08rem;
      }
  
      .input-content {
        flex: 1;
        position: relative;
        input {
          width: 100%;
          height: 0.4rem;
          border: 0.02rem solid #ccc;
          border-radius: 0.2rem;
          text-indent: 0.1rem;
          font-size: 0.16rem;
        }
  
        .send {
          width: 0.7rem;
          height: 0.3rem;
          background-color: cadetblue;
          border-radius: 0.18rem;
          color: white;
          position: absolute;
          top: 0.05rem;
          right: 0.05rem;
        }
      }
    }
  
    

  }

}




.right{
  float: right;
}
.left{
  float: left;
}

